package com.my.mapper;

import com.my.model.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wxq
 * @since 2020-06-13
 */
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> selectRoleByUserId(Long id);

    List<Role> selectRoleByMenuId(Long id);

}
